package com.design.pattern.create.factory.abstractFactory;

import com.design.pattern.entry.Bag;
import com.design.pattern.entry.Fruit;

/**
 * 抽象工厂是把工厂方法模式里面的各个相关联的工厂合并起来,(把苹果工厂和苹果包装工厂合并起来)
 *
 * @author gyf
 * @create 2018-11-30 18:41
 **/
public abstract class AbstractFactory {
    public abstract Fruit getFruit();

    public abstract Bag getBag();
}
